package cn.ording.entity;

import java.sql.Timestamp;


/**
 * FoodOrder entity. @author MyEclipse Persistence Tools
 */

public class FoodOrder  implements java.io.Serializable {


    // Fields    

     private FoodOrderId id;
     private Integer orderNum;
     private Integer deliveredNum;
     private Timestamp time;
     private Double sum;
     private String remark;


    // Constructors

    /** default constructor */
    public FoodOrder() {
    }

	/** minimal constructor */
    public FoodOrder(FoodOrderId id, Integer orderNum, Integer deliveredNum, Timestamp time, Double sum) {
        this.id = id;
        this.orderNum = orderNum;
        this.deliveredNum = deliveredNum;
        this.time = time;
        this.sum = sum;
    }
    
    /** full constructor */
    public FoodOrder(FoodOrderId id, Integer orderNum, Integer deliveredNum, Timestamp time, Double sum, String remark) {
        this.id = id;
        this.orderNum = orderNum;
        this.deliveredNum = deliveredNum;
        this.time = time;
        this.sum = sum;
        this.remark = remark;
    }

   
    // Property accessors

    public FoodOrderId getId() {
        return this.id;
    }
    
    public void setId(FoodOrderId id) {
        this.id = id;
    }

    public Integer getOrderNum() {
        return this.orderNum;
    }
    
    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getDeliveredNum() {
        return this.deliveredNum;
    }
    
    public void setDeliveredNum(Integer deliveredNum) {
        this.deliveredNum = deliveredNum;
    }

    public Timestamp getTime() {
        return this.time;
    }
    
    public void setTime(Timestamp time) {
        this.time = time;
    }

    public Double getSum() {
        return this.sum;
    }
    
    public void setSum(Double sum) {
        this.sum = sum;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
   








}